import request from '../utils/request.js'
// 频道新闻推荐
export const getArticles = data => request.get('/articles',data)

// 获取新闻文章详情
export const getArticleDetail = id => request.get(`/articles/${id}`)